import unittest
from Entities.Calendars.Calendar import Calendar

class CalendarTest (unittest.TestCase):
    
    def setUp (self):
        self.cal = Calendar ('NY', 'New York')
    
    def testProps (self):
        self.assertEquals (self.cal.code, 'NY')
        self.assertEquals (self.cal.name, 'New York')

def Suite ():
    return unittest.TestLoader().loadTestsFromTestCase(CalendarTest)
        
if __name__ == '__main__':
    unittest.TextTestRunner().run(Suite())
